package cn.iocoder.yudao.module.cms.framework;

import cn.iocoder.yudao.framework.datapermission.v1.UniDataPermissionRuleCustomizer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * permission 组件的配置类
 */
@Configuration(proxyBeanMethods = false, value = "cmsPermissionConfiguration")
public class DataPermissionConfiguration {

    @Bean
    public UniDataPermissionRuleCustomizer cmsDataPermissionRuleCustomizer() {
        return rule -> {
        };
    }

}
